<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTLineStyle.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_line_style_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTLineStyle.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &lt;QuartzCore/QuartzCore.h&gt;</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_color.html" title="An immutable color.">CPTColor</a>;
<a name="l00005"></a>00005 
<a name="l00006"></a><a class="code" href="interface_c_p_t_line_style.html">00006</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> : <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html">NSCopying</a>, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSMutableCopying_Protocol/Reference/Reference.html">NSMutableCopying</a>&gt; {
<a name="l00007"></a>00007     <span class="keyword">@private</span>
<a name="l00008"></a><a class="code" href="interface_c_p_t_line_style.html#aa2010258cc8e768ac59954a8b7d8f3f0">00008</a>     CGLineCap <a class="code" href="interface_c_p_t_line_style.html#aa2010258cc8e768ac59954a8b7d8f3f0" title="The style for the endpoints of lines drawn in a graphics context.">lineCap</a>;
<a name="l00009"></a>00009 <span class="comment">//  CGLineDash lineDash; // We should make a struct to keep this information</span>
<a name="l00010"></a><a class="code" href="interface_c_p_t_line_style.html#a5b41674be302ef1801d33ce079da3b42">00010</a>     CGLineJoin <a class="code" href="interface_c_p_t_line_style.html#a5b41674be302ef1801d33ce079da3b42" title="The style for the joins of connected lines in a graphics context.">lineJoin</a>;
<a name="l00011"></a><a class="code" href="interface_c_p_t_line_style.html#a7fba8edf2d131f6baad56635381a946b">00011</a>     CGFloat <a class="code" href="interface_c_p_t_line_style.html#a7fba8edf2d131f6baad56635381a946b" title="The miter limit for the joins of connected lines in a graphics context.">miterLimit</a>;
<a name="l00012"></a><a class="code" href="interface_c_p_t_line_style.html#ad742282d977c6ec6cd251b2cd8f7c1de">00012</a>     CGFloat <a class="code" href="interface_c_p_t_line_style.html#ad742282d977c6ec6cd251b2cd8f7c1de" title="The line width for a graphics context.">lineWidth</a>;
<a name="l00013"></a><a class="code" href="interface_c_p_t_line_style.html#a6053a92df9fbf4f49fd9c727efca2f94">00013</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a> *<a class="code" href="interface_c_p_t_line_style.html#a6053a92df9fbf4f49fd9c727efca2f94" title="The dash-and-space pattern for the line.">dashPattern</a>;
<a name="l00014"></a><a class="code" href="interface_c_p_t_line_style.html#aafbb5316e2ad7a41708b55b45619397b">00014</a>     CGFloat <a class="code" href="interface_c_p_t_line_style.html#aafbb5316e2ad7a41708b55b45619397b" title="The starting phase of the line dash pattern.">patternPhase</a>;
<a name="l00015"></a>00015 <span class="comment">//  StrokePattern; // We should make a struct to keep this information</span>
<a name="l00016"></a><a class="code" href="interface_c_p_t_line_style.html#abbbc1a4147e36b4473da4ed9859ccd9a">00016</a>     <a class="code" href="interface_c_p_t_color.html" title="An immutable color.">CPTColor</a> *<a class="code" href="interface_c_p_t_line_style.html#abbbc1a4147e36b4473da4ed9859ccd9a" title="The current stroke color in a context.">lineColor</a>;
<a name="l00017"></a>00017 }
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">@property</span> (nonatomic, readonly, assign) CGLineCap lineCap;
<a name="l00020"></a>00020 <span class="keyword">@property</span> (nonatomic, readonly, assign) CGLineJoin lineJoin;
<a name="l00021"></a>00021 <span class="keyword">@property</span> (nonatomic, readonly, assign) CGFloat miterLimit;
<a name="l00022"></a>00022 <span class="keyword">@property</span> (nonatomic, readonly, assign) CGFloat lineWidth;
<a name="l00023"></a>00023 <span class="keyword">@property</span> (nonatomic, readonly, retain) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a> *dashPattern;
<a name="l00024"></a>00024 <span class="keyword">@property</span> (nonatomic, readonly, assign) CGFloat patternPhase;
<a name="l00025"></a>00025 <span class="keyword">@property</span> (nonatomic, readonly, retain) <a class="code" href="interface_c_p_t_color.html" title="An immutable color.">CPTColor</a> *lineColor;
<a name="l00026"></a>00026 
<a name="l00029"></a>00029 +(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)lineStyle;
<a name="l00031"></a>00031 
<a name="l00034"></a>00034 -(void)setLineStyleInContext:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)theContext;
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>CPTLineStyle.h</b>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
